# Contributor: Lionel Voirol <lionel@sinux.ch>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ezstream
pkgver=1.0.1
pkgrel=0
pkgdesc="Ezstream is a command line source client for Icecast media streaming servers."
url="http://www.icecast.org/ezstream.php"
arch="all"
license="GPL-2.0"
makedepends="libshout-dev libxml2-dev libvorbis-dev check-dev taglib-dev bsd-compat-headers"
subpackages="$pkgname-doc"
source="http://downloads.xiph.org/releases/ezstream/ezstream-$pkgver.tar.gz"

build() {
	./configure \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="0e8a79590504f718303f1198ebb5c87383c945b999acc1b08a714791da242064e36e90ce1034e9dc3492c8e0d320428f84bd456bf93466c747adfa651605908c  ezstream-1.0.1.tar.gz"
